package IO;

import java.util.Scanner;

public class InputTest {
	public static void main(String[] args) {
		System.out.println("insert a number");
		Scanner in = new Scanner(System.in);
		int a = 0;
		boolean flag = true;
		while (flag) {
			a = in.nextInt();
			if (a == 100) {
				System.out.println("You got it");
				flag = false;
			} else {
				System.out.println("Guess it again");
			}
		}

	}
}
